package com.kcht.itsed.mws.alespecadapter.model;

/**
 * 插件容器
 * @author 张文硕
 *
 * @param <T>
 */
public class PluginContainerModel<V,T> {

	private String pluginName;
	private String description;
	private Class<V> pluginClass;	//插件实现类
	private T templateObj;	//模板对象
	
	public PluginContainerModel(String pluginName, String description,
			Class<V> pluginClass) {
		this.pluginName = pluginName;
		this.description = description;
		this.pluginClass = pluginClass;
	}
	
	public PluginContainerModel(String pluginName, String description,
			T templateObj) {
		this.pluginName = pluginName;
		this.description = description;
		this.templateObj = templateObj;
	}
	
	public PluginContainerModel(String pluginName, String description,T templateObj,Class<V> pluginClass) {
		this.pluginName = pluginName;
		this.description = description;
		this.templateObj = templateObj;
		this.pluginClass = pluginClass;
	}
	
	public String getPluginName() {
		return pluginName;
	}
	public void setPluginName(String pluginName) {
		this.pluginName = pluginName;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public Class<V> getPluginClass() {
		return pluginClass;
	}
	public void setPluginClass(Class<V> pluginClass) {
		this.pluginClass = pluginClass;
	}
	public T getTemplateObj() {
		return templateObj;
	}
	public void setTemplateObj(T templateObj) {
		this.templateObj = templateObj;
	}
}
